<template>
  <div id="app">
    <keep-alive >
       <router-view v-if="$route.meta.keepAlived"/>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlived"></router-view>
  </div>
</template>

<style lang="scss" scoped>
// #app {
//   width: 100%;
//   height: 100%;
//   background-color: f7f7f7;
// }
</style>
